package com.example.demo.mapper;

import com.example.demo.entity.Jshop_brand;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 品牌表 Mapper 接口
 * </p>
 *
 * @author Fyly
 * @since 2019-04-12
 */
@Repository
@Mapper
public interface Jshop_brandMapper extends BaseMapper<Jshop_brand> {

    @Select({"select * from jshop_brand where name = #{name}"})
    Jshop_brand selectByName(String name);

}
